<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%
	response.setContentType("text/xml");
%>

<ElectiveSubjects>

<c:forEach var="ElectiveSubjects" items="${electiveSubjects}">
<elective>
<course_code><c:out value="${ElectiveSubjects.courseCode}"/></course_code>
<course_name><c:out value="${ElectiveSubjects.courseName}"/></course_name>
<credits><c:out value="${ElectiveSubjects.credits}"/></credits>
<course_type><c:out value="${ElectiveSubjects.courseType}"/></course_type>
<course_group><c:out value="${ElectiveSubjects.courseGroup}"/></course_group>
<minimum_credits><c:out value="${ElectiveSubjects.minimumCourses}"/></minimum_credits>
<maximum_credits><c:out value="${ElectiveSubjects.maximumCourses}"/></maximum_credits>
<program_course_key><c:out value="${ElectiveSubjects.programCourseKey}"/></program_course_key>
<course_classification><c:out value="${ElectiveSubjects.courseClassification}"/></course_classification>
<course_group_code><c:out value="${ElectiveSubjects.courseGroupCode}"/></course_group_code>
</elective>

</c:forEach>
</ElectiveSubjects>